﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Services;

namespace WorkFlowCore.Resources
{
    public interface IResourceManager:IDomainService
    {
        Task<ResourceInfo> Upload(byte[] data,string fileName,string path);
        Task<byte[]> Download(string fielId);
        Task<byte[]> Download(ResourceInfo resource);
        Task<ResourceInfo> GetResourceInfo(string fielId);
    }
}
